<template>
  <c-dialog
    custom-class="wot-process-picture"
    width="1000px"
    :title="multLang('查看流程图')"
    :visible="visible"
    @update:visible="$emit('update:visible', $event)"
  >
    <el-image :src="img" fit="contain" :lazy="true">
      <div slot="placeholder" class="image-slot">
        {{ multLang('text_ae') }}
      </div>
    </el-image>
  </c-dialog>
</template>
<script>
export default {
  name: 'ProcessPicture',
  components: {},
  props: {
    visible: { type: Boolean, default: false },
    img: { type: String, default: '' }
  },
  data() {
    return {}
  },
  computed: {},
  watch: {},
  beforeCreate() {},
  created() {},
  beforeMount() {},
  mounted() {},
  beforeUpdate() {},
  updated() {},
  activated() {},
  deactivated() {},
  beforeDestroy() {},
  destroyed() {},
  methods: {}
}
</script>
<style lang="scss">
.wot-process-picture {
  height: 500px;
  .el-image {
    @include wh;
  }
}
</style>
